[INFO] fetching crate pathmatch 0.1.2...
[INFO] checking pathmatch-0.1.2 against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] extracting crate pathmatch 0.1.2 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate pathmatch 0.1.2 on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pathmatch 0.1.2
[INFO] finished tweaking crates.io crate pathmatch 0.1.2
[INFO] tweaked toml for crates.io crate pathmatch 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: path `/workspace/builds/worker-1/source/src/pathmatch.rs` was erroneously implicitly accepted for library `pathmatch`,
[INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb104a2d30cdb7f5e5c25b1c39bd563506cda6f7617c5c5b87ba4a8f2340f274
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fb104a2d30cdb7f5e5c25b1c39bd563506cda6f7617c5c5b87ba4a8f2340f274", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb104a2d30cdb7f5e5c25b1c39bd563506cda6f7617c5c5b87ba4a8f2340f274", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb104a2d30cdb7f5e5c25b1c39bd563506cda6f7617c5c5b87ba4a8f2340f274", kill_on_drop: false }`
[INFO] [stdout] fb104a2d30cdb7f5e5c25b1c39bd563506cda6f7617c5c5b87ba4a8f2340f274
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef4df611492f0f7038256e11f7458fc8e5bdc26c8610ddea16a9d171be2ded0f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ef4df611492f0f7038256e11f7458fc8e5bdc26c8610ddea16a9d171be2ded0f", kill_on_drop: false }`
[INFO] [stderr] warning: path `/opt/rustwide/workdir/src/pathmatch.rs` was erroneously implicitly accepted for library `pathmatch`,
[INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml
[INFO] [stderr]     Checking pathmatch v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]   --> src/pathmatch.rs:3:28
[INFO] [stdout]    |
[INFO] [stdout] 3  |   macro_rules! return_if_some(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 4  | |     ($arg:expr) => (
[INFO] [stdout] 5  | |         match $arg {
[INFO] [stdout] 6  | |             Some(val) => return val,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     );
[INFO] [stdout] 10 | | )
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]    |
[INFO] [stdout] 3  | macro_rules! return_if_some{
[INFO] [stdout] 4  |     ($arg:expr) => (
[INFO] [stdout] 5  |         match $arg {
[INFO] [stdout] 6  |             Some(val) => return val,
[INFO] [stdout] 7  |             None => {},
[INFO] [stdout] 8  |         }
[INFO] [stdout]  ...
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]    |
[INFO] [stdout] 10 | );
[INFO] [stdout]    |  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]   --> src/pathmatch.rs:3:28
[INFO] [stdout]    |
[INFO] [stdout] 3  |   macro_rules! return_if_some(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 4  | |     ($arg:expr) => (
[INFO] [stdout] 5  | |         match $arg {
[INFO] [stdout] 6  | |             Some(val) => return val,
[INFO] [stdout] ...  |
[INFO] [stdout] 9  | |     );
[INFO] [stdout] 10 | | )
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]    |
[INFO] [stdout] 3  | macro_rules! return_if_some{
[INFO] [stdout] 4  |     ($arg:expr) => (
[INFO] [stdout] 5  |         match $arg {
[INFO] [stdout] 6  |             Some(val) => return val,
[INFO] [stdout] 7  |             None => {},
[INFO] [stdout] 8  |         }
[INFO] [stdout]  ...
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]    |
[INFO] [stdout] 10 | );
[INFO] [stdout]    |  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/pathmatch.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[deriving(Clone)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/pathmatch.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 33 |         fn clone_times_next(&'a self, n: int) -> Cursor<'a>
[INFO] [stdout]    |                                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/pathmatch.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |             for _ in range(0, n) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/pathmatch.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(macro_rules)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `deriving` in this scope
[INFO] [stdout]   --> src/pathmatch.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[deriving(Clone)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/pathmatch.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 33 |         fn clone_times_next(&'a self, n: int) -> Cursor<'a>
[INFO] [stdout]    |                                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/pathmatch.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |             for _ in range(0, n) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/pathmatch.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(macro_rules)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]   --> src/pathmatch.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl<'a> Iterator<char> for Cursor<'a>
[INFO] [stdout]    |          -- first declared here
[INFO] [stdout] 44 |     {
[INFO] [stdout] 45 |         fn next<'a>(&mut self) -> Option<char>
[INFO] [stdout]    |                 ^^ lifetime 'a already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stdout]   --> src/pathmatch.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl<'a> Iterator<char> for Cursor<'a>
[INFO] [stdout]    |                       ^^^^ unexpected type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
[INFO] [stdout]   --> src/pathmatch.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl<'a> Iterator<char> for Cursor<'a>
[INFO] [stdout]    |          -- first declared here
[INFO] [stdout] 44 |     {
[INFO] [stdout] 45 |         fn next<'a>(&mut self) -> Option<char>
[INFO] [stdout]    |                 ^^ lifetime 'a already in scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1
[INFO] [stdout]   --> src/pathmatch.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl<'a> Iterator<char> for Cursor<'a>
[INFO] [stdout]    |                       ^^^^ unexpected type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item`
[INFO] [stdout]   --> src/pathmatch.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl<'a> Iterator<char> for Cursor<'a>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Item = Type;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item`
[INFO] [stdout]   --> src/pathmatch.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl<'a> Iterator<char> for Cursor<'a>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Item = Type;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/pathmatch.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |         fn clone_times_next(&'a self, n: int) -> Cursor<'a>
[INFO] [stdout]    |                                                  ---------- expected `pathmatch::Cursor<'a>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 39 |             return rv
[INFO] [stdout]    |                    ^^ expected struct `pathmatch::Cursor`, found `&pathmatch::Cursor<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::iter::Peekable<&mut pathmatch::Cursor<'_>>` in the current scope
[INFO] [stdout]     --> src/pathmatch.rs:55:39
[INFO] [stdout]      |
[INFO] [stdout] 55   |               if !path_chars.peekable().is_empty() && pathmatch_try(pattern_chars.clone_times_next(3), path_chars, alt_branch_mode) {
[INFO] [stdout]      |                                         ^^^^^^^^ method not found in `std::iter::Peekable<&mut pathmatch::Cursor<'_>>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: the method `is_empty` exists but the following trait bounds were not satisfied:
[INFO] [stdout]              `&mut pathmatch::Cursor<'_>: std::iter::ExactSizeIterator`
[INFO] [stdout]              which is required by `std::iter::Peekable<&mut pathmatch::Cursor<'_>>: std::iter::ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::iter::Peekable<&mut pathmatch::Cursor<'_>>` in the current scope
[INFO] [stdout]     --> src/pathmatch.rs:60:136
[INFO] [stdout]      |
[INFO] [stdout] 60   |   ...e) && path_chars.peekable().is_empty() {
[INFO] [stdout]      |                                  ^^^^^^^^ method not found in `std::iter::Peekable<&mut pathmatch::Cursor<'_>>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: the method `is_empty` exists but the following trait bounds were not satisfied:
[INFO] [stdout]              `&mut pathmatch::Cursor<'_>: std::iter::ExactSizeIterator`
[INFO] [stdout]              which is required by `std::iter::Peekable<&mut pathmatch::Cursor<'_>>: std::iter::ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for mutable reference `&mut pathmatch::Cursor<'_>` in the current scope
[INFO] [stdout]    --> src/pathmatch.rs:108:46
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut path_chars_copy = path_chars.clone();
[INFO] [stdout]     |                                              ^^^^^ method not found in `&mut pathmatch::Cursor<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `std::clone::Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0308, E0412, E0425, E0496, E0554, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pathmatch`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/pathmatch.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |         fn clone_times_next(&'a self, n: int) -> Cursor<'a>
[INFO] [stdout]    |                                                  ---------- expected `pathmatch::Cursor<'a>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 39 |             return rv
[INFO] [stdout]    |                    ^^ expected struct `pathmatch::Cursor`, found `&pathmatch::Cursor<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::iter::Peekable<&mut pathmatch::Cursor<'_>>` in the current scope
[INFO] [stdout]     --> src/pathmatch.rs:55:39
[INFO] [stdout]      |
[INFO] [stdout] 55   |               if !path_chars.peekable().is_empty() && pathmatch_try(pattern_chars.clone_times_next(3), path_chars, alt_branch_mode) {
[INFO] [stdout]      |                                         ^^^^^^^^ method not found in `std::iter::Peekable<&mut pathmatch::Cursor<'_>>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: the method `is_empty` exists but the following trait bounds were not satisfied:
[INFO] [stdout]              `&mut pathmatch::Cursor<'_>: std::iter::ExactSizeIterator`
[INFO] [stdout]              which is required by `std::iter::Peekable<&mut pathmatch::Cursor<'_>>: std::iter::ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `std::iter::Peekable<&mut pathmatch::Cursor<'_>>` in the current scope
[INFO] [stdout]     --> src/pathmatch.rs:60:136
[INFO] [stdout]      |
[INFO] [stdout] 60   |   ...e) && path_chars.peekable().is_empty() {
[INFO] [stdout]      |                                  ^^^^^^^^ method not found in `std::iter::Peekable<&mut pathmatch::Cursor<'_>>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: the method `is_empty` exists but the following trait bounds were not satisfied:
[INFO] [stdout]              `&mut pathmatch::Cursor<'_>: std::iter::ExactSizeIterator`
[INFO] [stdout]              which is required by `std::iter::Peekable<&mut pathmatch::Cursor<'_>>: std::iter::ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for mutable reference `&mut pathmatch::Cursor<'_>` in the current scope
[INFO] [stdout]    --> src/pathmatch.rs:108:46
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut path_chars_copy = path_chars.clone();
[INFO] [stdout]     |                                              ^^^^^ method not found in `&mut pathmatch::Cursor<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `std::clone::Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0308, E0412, E0425, E0496, E0554, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ef4df611492f0f7038256e11f7458fc8e5bdc26c8610ddea16a9d171be2ded0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef4df611492f0f7038256e11f7458fc8e5bdc26c8610ddea16a9d171be2ded0f", kill_on_drop: false }`
[INFO] [stdout] ef4df611492f0f7038256e11f7458fc8e5bdc26c8610ddea16a9d171be2ded0f
